<!DOCTYPE html>
<html>
<head>
<title></title>
<meta charset="utf-8" />
</head>
<body>

<div id="box" style="padding:30px;"></div>
<script src="http://libs.baidu.com/jquery/2.0.0/jquery.min.js"></script>
<script src="mock.js"></script>
<script type="text/javascript" src="index.js"></script>
<script type="text/javascript">
$.ajax({
    url: 'http://g.cn',
    method:"get",
    dataType:'json',
    success:function(data, status, xhr){
    	document.write(JSON.stringify(data))
    	// console.log(data)
    	// console.log(JSON.stringify(data))
    }
    
})


// $.ajax({
//     url: 'http://g.cn',
//     dataType:'json',
//     }).done(function(data, status, xhr){
//     console.log(
//     	JSON.stringify(data, null, 4)
//     )    
// })
</script>
</body>
</html>
